package com.woniu.liuzhougov.WorkPlan.dao;

import com.woniu.liuzhougov.WorkPlan.dto.PlanDTO;
import com.woniu.liuzhougov.WorkPlan.pojo.Plan;

import java.util.List;

public interface PlanMapper {

    /**
     * @Description: 
     * @Author: JunZhao
     * @Date: 2019-04-24 11:34
     * @Param: [plan]
     * @Return: java.util.List<com.woniu.liuzhougov.WorkPlan.dto.PlanDTO>
     */
    List<PlanDTO> queryPlanByPage(Plan plan);

    int deleteByPrimaryKey(Integer planId);

    int insert(Plan record);

    int insertSelective(Plan record);

    Plan selectByPrimaryKey(Integer planId);

    int updateByPrimaryKeySelective(Plan record);

    int updateByPrimaryKey(Plan record);

    PlanDTO selectByPrimaryKeyAndUserId(Integer planId);
}